class AssemblyOrderProduct < ActiveRecord::Base
  belongs_to :assembly_order
  belongs_to :product

  has_many :assembly_order_details ,:dependent => :destroy  #级联删除子表
end
